package cn.tedu.pet.product.mapper;

import cn.tedu.pet.product.pojo.entity.Breed;
import cn.tedu.pet.product.pojo.vo.BreedListItemVO;
import cn.tedu.pet.product.pojo.vo.BreedStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface BreedMapper  extends BaseMapper<Breed> {
    List<BreedListItemVO> list();

    int insert(Breed breed);

    List<BreedListItemVO> listByParentId(Long parentId);

    BreedStandardVO getStandardById(Long id);
}
